
/**
 * copyright(c) 2013 www.jiongshibaoliao.com, All Rights Reserved.
 * project: jiongshibaoliao 
 * author: 曾帅
 * date: 2014-1-9 下午05:02:40
 * version: v1.0
 */

package com.jiongshibaoliao.dao;

import java.util.Map;

import com.jiongshibaoliao.common.mybatis.Page;
import com.jiongshibaoliao.common.mybatis.PageBean;
import com.jiongshibaoliao.model.Article;

/**
 * @project jiongshibaoliao
 * @author 曾帅 
 * @version 1.0
 * @date 2014-1-9 下午05:02:40   
 */

public interface ArticleDao extends BaseDao {

	public Page getArticlePageList(PageBean pageBean, Map<String, Object> map);
	
	public Page getMoodMostArticlePageList(PageBean pageBean);
	
	public int getUNAuditCount(String clientIp, Long userId);
	
	public Article getUNAuditRandom(String clientIp, Long userId, long few);
	
	public int getAuditArticleCount();
	
	public Article getAuditArticleRandom(long few);
}
